Fix arg to which-key-delay-functions
authorjustbur <justin@burkett.cc>
Wed, 15 Jun 2016 01:45:10 +0000 (21:45 -0400)
committerjustbur <justin@burkett.cc>
Wed, 15 Jun 2016 01:45:10 +0000 (21:45 -0400)
which-key.el

index 79858459e808f9db13fd9776d7661629a6f5f176..1e2437cb5d3c1fd16544a9c719240aa29b5da53b 100644 (file)
@@ -2109,7 +2109,8 @@ Finally, show the buffer."
                (> (length prefix-keys) 0)
                (not delayed)
                (setq skip (run-hook-with-args-until-success
-                           'which-key-delay-functions prefix-keys)))
+                           'which-key-delay-functions
+                           (key-description prefix-keys))))
       (setq which-key--delayed-timer
             (run-with-idle-timer skip nil #'which-key--update t)))
     (cond ((and (> (length prefix-keys) 0)